class CreateEducations < ActiveRecord::Migration
  def self.up
    create_table :educations do |t|
      t.string :name
      t.string :faculty
      t.string :major
      t.string :gpa
      t.date :startyear
      t.date :endyear
      t.string :edutype
      t.integer :profile_id

      t.timestamps
    end
  end

  def self.down
    drop_table :educations
  end
end
